package com.kindel.mapper.type;

import com.kindel.model.book.BookModel;
import com.kindel.model.type.BookTypeModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by winte on 2017/8/28.
 */
@Mapper
public interface BookTypeMapper {
    List<BookTypeModel> loadBookType();

    List<BookModel> loadBookTypeByName(@Param("name") String name);
}
